package com.pcbly.web.business.user;

import java.util.List;

import com.pcbly.web.bean.system.GroupBean;
import com.pcbly.web.bean.user.UserBean; 
import com.pcbly.web.business.BaseService;

public interface UserService extends BaseService<UserBean> {

	UserBean findUserBeanByUserAndPasswd(String user, String passwd)
			throws Exception;

	UserBean getUserByLoginName(String user) throws Exception;

	List<UserBean> findUserBeanAll() throws Exception;

	UserBean getUserBeanById(String id) throws Exception;
	 

	List<GroupBean> findGroupBeanByUserId(String id) throws Exception;

	List<UserBean> findUserBeanByGroupId(String id) throws Exception;

	UserBean updateUserBean(UserBean user) throws Exception;

	UserBean saveUserBean(UserBean user) throws Exception;
	
	List<UserBean> findUserBeanByName(String name) throws Exception; 

}
